const state = {
  globalLoading: true,

  path:"",
  // add dia
  dia:{
    export:{
      show:false,
      search:{},
      params:[],
      info:[],
      OK:null
    },
    add:{
      title:"新增",
      show:false,
      addUrl:"",//新增的地址
      id:"-1",
      tableName:"",
      type:""
    },
    baseInfo:{
      title:"新增",
      show:false,
      addUrl:"",//新增的地址
    },
    socialInfo:{
      show:false,
    },
    confirm:{ //确认
      title:"删除",
      content:"",
      show:false,
      OK:function(){}
    },
    center:{
      show:false,
      title:"提示",
      index:0,
      info:{},
    },

    privilege:{
      id:null,
      number:"",
      isAdd:true,//是否是新增
      show:false,
      title:"权限编辑"
    },
    academic:{
      show:false,
      title:"新增"
    },
    fields:{
      show:false,
      title:"字典管理（未设置默认为输入框）"
    }
  },

  search:{
    params:{
      date:[],//参数不足
    },
  },

  urlArray:["/party/regulations","/party/learnings","/party/dynamic","/party/work","/party/notice","/party/activity","","/party/religion"],
  
  // add menu data
  tablename:"",//公共的tablename
  commonMenu: [
    {name:"学生管理",url:"/student",privilege:"1"},
    {name:"教职工基本信息",url:"/teacherManage/info",privilege:"2",tablename:"",},

    {name:"学术成果统计",url:"menu1",privilege:"24",tablename:"",children:[
      {name:"学术论文",url:"/academicpaper",privilege:"3",tablename:"outcomes_academic"},
      {name:"专著教材",url:"/teachmaterial",privilege:"4",tablename:"outcomes_monograph"},
      {name:"科研奖励",url:"/scientificawards",privilege:"5",tablename:"outcomes_scientific"},
      {name:"软著专利",url:"/softwork",privilege:"6",tablename:"outcomes_patent"},
      {name:"参加学术活动",url:"/joinactivity",privilege:"7",tablename:"academic_activity"},
      {name:"举办学术会议",url:"/runmeeting",privilege:"8",tablename:"academic_meeting"},
      {name:"竞赛奖励(研究生成果)",url:"/competition",privilege:"10",tablename:"graduate_award"},
      {name:"荣誉表彰(研究生成果)",url:"/honorary",privilege:"11",tablename:"honor"},
      {name:"资格认证(研究生成果)",url:"/professional",privilege:"12",tablename:"qualification_authentication"},
    ]},
    {name:"教学成果统计",url:"menu2",privilege:"25",tablename:"",children:[
      {name:"出版教材信息统计",url:"/textbooks",privilege:"19",tablename:"published_materials"},
      {name:"教研论文信息统计",url:"/teachingpaper",privilege:"18",tablename:"tr_thesis"},
      {name:"教研项目",url:"/researchs",privilege:"17",tablename:"tr_project"},
      {name:"课改",url:"/classChange",privilege:"16",tablename:"curriculum_change"},
      {name:"名师",url:"/famoust",privilege:"15",tablename:"top_teacher"},
      {name:"指导参加学科竞赛",url:"/guidance",privilege:"23",tablename:"guidance_competition"},
      {name:"教学成果推荐",url:"/teaching/results",privilege:"22",tablename:"achievement_recommend"},
      {name:"其他教研项目",url:"/otherteaching",privilege:"14",tablename:"other_project"},

      {name:"教学团队拟立项名单",url:"/teaching/project",privilege:"9",tablename:"project_list"},
      {name:"青年教学名师评选",url:"/teaching/appraise",privilege:"9",tablename:"teacher_appraise"},
      {name:"课堂教学方法改革验收",url:"/teaching/reform",privilege:"9",tablename:"teaching_reform"},
      {name:"课程教学改革立项课程",url:"/teaching/course",privilege:"9",tablename:"teaching_reform_course"},
    ]},
    {name:"个人中心",url:"/center",privilege:"9",tablename:""},
    {name:"消息中心",url:"/message",privilege:"21",tablename:""},
    {name:"权限管理",url:"/privilege",privilege:"20",tablename:""},
  ],

  // add theader
  theader:{
    showback:false,
    showfrash:false,
    label:"",
  },

  // add dia
    // examine
  examine:{
    show:false,
    info:{}
  }

  
}

export default state
